package zlx.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import zlx.springcloud.domain.Oder;

@Mapper
public interface OderDao {
    //1、新建订单
    void create(Oder oder);

    //2、修改订单状态，从零改为一
    void update(@Param("userId") Long userId,@Param("status") Integer status);

}
